package com.htsoft.test.admin;

import javax.annotation.Resource;

import org.junit.Test;
import org.springframework.test.annotation.Rollback;

import com.htsoft.oa.dao.admin.BookTypeDao;
import com.htsoft.oa.model.admin.BookType;
import com.htsoft.test.HtBaseTestCase;

public class BookTypeDaoTestCase extends HtBaseTestCase
{

  @Resource
  private BookTypeDao bookTypeDao;

  @Test
  @Rollback(false)
  public void add()
  {
    BookType bookType = new BookType();
    bookType.setTypeName("类型名");
    this.bookTypeDao.save(bookType);
  }
}